package com.springbootdemo.demo.exception;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ExceptionController {

   @GetMapping("/testError")
    public boolean testError() {
        int i = 10 / 0;
        return true;
    }
}
